<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>盈利盈首页</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript" src="${ctxStatic }/js/lunbo.js"></script>
	</head>
<body>
<div class="banner">
	<ul class="scroll">
		<c:if test="${!empty lunbo_list }">
		<c:forEach var="map" items="${lunbo_list }">
    	<li><a href="${ctx }${map['url']}"><img src="${svr_url}pic/show?filename=${map['image']}" alt="${map['title'] }" title="${map['title'] }"></a></li>
    	</c:forEach>
		</c:if>
    </ul>
    <ol class="circle">
    	<c:if test="${!empty lunbo_list }">
    	<c:forEach var="map" items="${lunbo_list }" varStatus="status">    	
    	<li <c:if test="${status.index == 0}">class="current"</c:if>>●</li>    	
    	</c:forEach>
        </c:if> 
    </ol>
</div>
<div class="icon"></div>
<div id="gongao">  
	<div id="scroll_div" class="scroll_div">
        <div id="scroll_begin"> 
           <c:forEach var="smsg" items="${notifylist}">
           		${smsg}
           </c:forEach>
   	    </div> 
		<div id="scroll_end"></div> 
	</div>
    <script type="text/javascript">ScrollImgLeft();</script> 
</div>
<div class="mainbox">
	<div class="main clearfix">
		<div class="sideBar_left">
		<c:forEach items="${lccp_list }" var="lccp" varStatus="status">
			<div class="subbar_${status.index % 5 + 1}">
    			<div class="subbar01">
        			<h2>${lccp.cpmc }</h2>
            		<p>${lccp.cpjs }</p>
            		<a href="${ctx }/finance/index">更多 ›</a>
        		</div>
        		<div class="subbar02">
                	<ul>
                    	<li><span>${lccp.syl }</span>%</li>
                    	<li>投资收益</li>
                	</ul>
             		  	<ul>
                   		<li><span>${(lccp.qtje >= 10000)?lccp.qtje/10000:lccp.qtje }</span>${(lccp.qtje >= 10000)?"万元":"元" }</li>
                    	<li>起投资金</li>
                	</ul>
                	<ul>
                    	<li><span>${lccp.fbq }</span>天</li>
                    	<li>锁定期</li>
                	</ul>
                	<ul>
                    	<li><span><fmt:formatNumber type="number" value="${lccp.qtje * lccp.syl/100/360 * lccp.fbq}" pattern="0.00" maxFractionDigits="2"/></span>元</li>
                    	<li>投资收益</li>
                	</ul>
                	<ul class="main_button">
                    	<li><a href="${ctx }/finance/lc_detail?lccp_id=${lccp.id}">立即购买</a></li>
               	 	</ul>
       	 		</div>
    		</div>
    	</c:forEach>
        </div>
        <div class="sideBar_right">
        	<div class="side_box_up">
            	<div class="side_box_notices">
            		<h3>最新动态</h3>
                	<a href="${ctx }/about/cfq">更多 ›</a>
            	</div>
            	<ul class="side_tabs">
<!--             		<li class="notices"> -->
<!--                 		<p></p> -->
<!--                 		<a href="#"><span class="time">10-09</span>10月9日银行维护通知</a> -->
<!--                 	</li> -->
					<c:if test="${!empty zxxx_list }">
					<c:forEach var="map" items="${zxxx_list }">
                	<li>
                		<p></p>
                		<a href="${ctx }/about/zxxx?zxxx_id=${map['id']}"><span class="time">${map['fbsj'] }</span>${map['zxbt'] }</a>
                	</li>
                	</c:forEach>
					</c:if>
            	</ul>
            </div>
            <div class="side_box_down">
            	<div class="side_box_notices">
            		<h3>常见问题</h3>
                	<a href="#">更多 ›</a>
            	</div>
            	<ul class="side_tabs">
            		<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
                	<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
                	<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
                	<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
                	<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
                	<li>
                	<p></p>
                	<a href="#">10月9日银行维护通知</a>
                </li>
            	</ul>
            </div>
        </div>
	</div>
</div>
	<div class="partner"></div>
</body>
</html>
